package com.sx.ad.client;

import com.sx.ad.client.vo.AdPlan;
import com.sx.ad.client.vo.AdPlanGetRequest;
import com.sx.ad.vo.CommonResponse;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author zkx
 * @Date 2024/9/6 18:17
 */
@Component
public class SponsorClientHystrix implements SponsorClient{
	@Override
	public CommonResponse<List<AdPlan>> getAdPlans(AdPlanGetRequest request) {
		return new CommonResponse<>(-1,
				"eureka-client-ad-sponsor error");
	}
}
